<%@page contentType="text/html; charset=UTF-8"%>
<%@include file="../../../tools/commonTag.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>员工修改</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="${path}/style/backui/system.css">
		<script src="${path}/js/jquery-1.6.js"></script>
		<script src="${path}/js/backjs/sysutil.js"></script>
		<script type="text/javascript" src="${path}/tools/My97DatePicker/WdatePicker.js"></script>
	</head>

	<body>
		<div id="main">
			<div id="page_body">
				<div class="page_title">
					<table style="margin:auto;padding:auto;" cellspacing="0" cellpadding="3" border="0" class="small">
					  	<tbody>
					  		<tr>
						    	<td class="Big"><span class="big3">员工修改</span></td>
						    </tr>
						</tbody>
					</table>
				</div>
				<div class="page_content">
					<form name="form1" action="/sugar/emp!updateEmpAction.action" method="POST">
						<table class="TableBlock" width="95%" align="center">
							<tbody>
								<tr>
									<td class="TableData" nowrap="">员工编号：</td>
									<td class="TableData">
									${emp.empNo}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">真实名称：</td>
									<td class="TableData">
									${emp.empRealname}
									</td>
									<td class="TableData" rowspan="5" width="120">近期照片</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">隶属部门：</td>
									<td class="TableData">
									${emp.dept.deptName}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">登录账号：</td>
									<td class="TableData">
									${emp.account.username}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">登录密码：</td>
									<td class="TableData">
									${emp.account.password}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">应聘职位：</td>
									<td class="TableData">
									${emp.acceptJob}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">民族：</td>
									<td class="TableData">
									${emp.nation}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">性别：</td>
									<td class="TableData">
									${emp.gender.name }
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">出生日期：</td>
									<td class="TableData">
									${emp.birthday}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">毕业学校：</td>
									<td class="TableData">
									${emp.school}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">文化程度：</td>
									<td class="TableData">
									${emp.educational}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">所学专业：</td>
									<td class="TableData">
									${emp.speciality}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">工作年限：</td>
									<td class="TableData">
										${emp.ageJob }
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">籍贯：</td>
									<td class="TableData">
									${emp.natives}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">户口所在地：</td>
									<td class="TableData">
									${emp.residence}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">现居住地址：</td>
									<td class="TableData">
									${emp.residentialAddr}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">联系电话：</td>
									<td class="TableData">
									${emp.tel}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">移动电话：</td>
									<td class="TableData">
									${emp.mobileTel}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">电子邮件：</td>
									<td class="TableData">
									${emp.email}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">紧急联系人：</td>
									<td class="TableData">
									${emp.emergency}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">紧急联系人电话 ：</td>
									<td class="TableData">
									${emp.emergencyTel}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">入职日期：</td>
									<td class="TableData">
									${emp.appointmentDate}
									</td>
								</tr>
								<tr>
									<td class="TableData" nowrap="">员工在职状态：</td>
									<td class="TableData">
									${emp.visible==true?"在职":"离职"}
									</td>
								</tr>
								
								<tr align="center" class="TableControl">
							      <td nowrap="" colspan="2">
							        <input type="button" onclick="sendForm('1');" class="BigButtonA" value="修改">&nbsp;&nbsp;
							      </td>
							    </tr>
							</tbody>
						</table>
					</form>
				</div>
			</div>
		</div>
		
		<script type="text/javascript">
			var tb = $(".TableBlock") ;
			var title_tb = $(".small") ;
			title_tb.css("width",tb.attr("width")) ;
		</script>
	</body>
</html>
